package cn.itheima.bean;

public class Student {
    private String username;
    private int age;
    private int score;

    public Student() {
    }

    public Student(String name, int age, int score) {
        this.username = name;
        this.age = age;
        this.score = score;
    }

    public String getName() {
        return username;
    }

    public void setName(String name) {
        this.username = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return username + "," + age + "," + score;
    }
}
